home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
MSI200.ARJ
/
RUNMSI.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-08-18
|
1KB
|
86 lines
@echo off
:Reload
REM Replace with YOUR mouse driver....
REM MOUSE
:MenusOnly
REM Start the Menus...
MSI
REM Have returned with errorlevel = 0-9
REM 0 = Normal Quit 1-8 = User Defined 9 = Normal MSI Action
if errorlevel 9 goto MSIAction
REM Substitute your lables for Exit in 8 - 2 for your commands
if errorlevel 8 goto Level8
if errorlevel 7 goto Level7
if errorlevel 6 goto Level6
if errorlevel 5 goto Level5
if errorlevel 4 goto Level4
if errorlevel 3 goto Level3
if errorlevel 2 goto Level2
if errorlevel 1 goto Level1
goto Exit
REM For MSI Action Commands ONLY
:MSIAction
CALL ACT
GOTO MenusOnly
REM Change this section to unload your mouse and setup your Windows
:Level1
REM MOUSE U
REM Your Action Window MUST contain the Windows start-up instructions
CALL ACT
GOTO Reload
REM Load & Unload TSR's immediately before and after "call act"
:Level2
CALL ACT
GOTO MenusOnly
:Level3
CALL ACT
GOTO MenusOnly
:Level4
CALL ACT
GOTO MenusOnly
:Level5
CALL ACT
GOTO MenusOnly
:Level6
CALL ACT
GOTO MenusOnly
:Level7
CALL ACT
GOTO MenusOnly
:Level8
call act
goto MenusOnly
REM This is the TRUE exit from the MSI Menu System
:Exit
:REM Unloading driver before quitting is a MUST...!
REM MOUSE U
ECHO ...
ECHO Type RUNMSI to restart the MSI Menu System...